package ru.ksu.ktk.diploma.sdi.schema.convertor;

import com.hp.hpl.jena.ontology.OntModel;

import javax.xml.transform.TransformerException;
import java.io.FileNotFoundException;
import java.io.InputStream;

/**
 * @author: NZhiltsov
 * Date: 25.01.2009
 * Time: 22:00:50
 */
public interface XML2OWLConvertor {
    /**
     * convert from XML to OWL
     *
     * @param sourceStream             stream with XML data
     * @param projectAlias               project alias
     * @return
     * @throws TransformerException
     * @throws FileNotFoundException
     */
    OntModel convert(InputStream sourceStream, String projectAlias) throws
                                                                    FileNotFoundException;
}
